package com.ctgu.server.dao.entity;

import java.sql.Time;
import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 考勤记录表
 * </p>
 *
 * @author ctgu
 * @since 2023-06-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="AttendanceRecord对象", description="考勤记录表")
public class AttendanceRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "记录ID")
    private String id;

    @ApiModelProperty(value = "用户ID")
    private String userId;
    @ApiModelProperty(value = "考勤组ID")
    private String groupId;

    @ApiModelProperty(value = "创建时间")
//    @TableField(fill = FieldFill.INSERT,value = "create_time")
    private Time createTime;

    @ApiModelProperty(value = "更新时间")
//    @TableField(fill = FieldFill.INSERT_UPDATE,value = "update_time")
    private Time updateTime;

    @ApiModelProperty(value = "打卡地点ID")
    private String locationId;

    @ApiModelProperty(value = "打卡时间段ID")
    private String timeSlotId;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "考勤日期")
    private Date attendanceDate;


}
